
local cont = lv.obj_create( lv.scr_act() );

lv.obj_set_size( cont, 300, 220 );

lv.obj_center( cont );

lv.obj_set_flex_flow( cont, lv.LV_FLEX_FLOW_ROW );

local obj = lv.obj_create( cont );

lv.obj_set_size( obj, 40, 40 );

obj = lv.obj_create( cont );

lv.obj_set_height( obj, 40 );

lv.obj_set_flex_grow( obj, 1 );

obj = lv.obj_create( cont );

lv.obj_set_height( obj, 40 );

lv.obj_set_flex_grow( obj, 2 );

obj = lv.obj_create( cont );

lv.obj_set_size( obj, 40, 40 );
